package cn.sfrog.project.biz.admin.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(description = "聊天消息记录表单VO")
public class BizMessageLogFormVO {
    @ApiModelProperty("id")
    private Long id;

    @NotNull
    @ApiModelProperty("聊天会话id")
    private Long conversationId;

    @NotNull
    @ApiModelProperty("消息类型【1=文字 2=图片 3=文件】")
    private String type;

    @NotNull
    @ApiModelProperty("内容")
    private String content;

    @NotNull
    @ApiModelProperty("发送人id")
    private Long sendUserId;

    @NotNull
    @ApiModelProperty("接收人id")
    private Long receiveUserId;

    @NotNull
    @ApiModelProperty("消息状态【0=未读 1=已读】")
    private String readStatus;

    @ApiModelProperty("备注")
    private String remark;


}
